package com.atguigu.srb.core.service;

import com.atguigu.srb.core.pojo.entity.UserInfo;
import com.atguigu.srb.core.pojo.query.UserQuery;
import com.atguigu.srb.core.pojo.vo.LoginVo;
import com.atguigu.srb.core.pojo.vo.UserIndexVo;
import com.atguigu.srb.core.pojo.vo.UserInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户基本信息 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2022-10-24
 */
public interface UserInfoService extends IService<UserInfo> {
    public UserInfo checkAccount(String token);
    void register(UserInfoVo userInfoVo);

    String login(LoginVo loginVo,String host);

    void getUserPage(Page<UserInfo> page, UserQuery userQuery);

    UserIndexVo getUserIndexVo(String token);
}
